home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
easyk110.zip
/
XMIT.OPT
< prev
Wrap
Text File
|
1988-08-09
|
9KB
|
179 lines
XMIT.OPT
EasyK 1.10 -- File Transfers to/from NERDC & UFFSC CMS
Copyright R. A. Elnicki, D.B.A. Kermit Made Easy
COMMAND SEQUENCE FOR CMS TEXT FILE TRANSFERS
The following sequence of commands will move a text file to VM/CMS from
a MS-DOS disk drive. It is one of many sequences that may be used with
Kermit. This sequence attempts to present the shortest and easiest
procedure to accomplish the task. The default file-type is text. The
command required to send/receive binary files through Kermit is discussed
below.
For this example, it is assumed a user wishes to move a MS-DOS text file
named "VERSION3.DOC" from a floppy diskette in the micro B drive to NERDC's
VM/CMS with the name "VERSION3 SCRIPT A1". The micro is emulating an IBM
327X terminal signed onto VM/CMS through Kermit following the sign-on
procedure shown above. The syntax used here to indicate that two keys are
to be pressed simultaneously is "key1 & key2", e.g., "Alt & x" on Item 4
below means press the Alt key and x key at the same time. Start with the
CMS ready mode displayed, "R; ...", as shown on Line 1.
1. VM/CMS Ready Prompt Displayed: R; ...
2. Enter Kermit-CMS Receive Command: kermit receive version3 script a1_
3. Kermit Prompt Displayed: CMS-Kermit ready to receive.
Please escape to local kermit to send ...
4. Press the Escape Sequence: Press "Alt & x"
5. Enter Send Command After ">": EasyK>send b:version3.doc
6. Watch the File Being Sent:
File Name: VERSION3.DOC
KBytes Transferred: 0
Percent Transferred: 31%
Sending: In progress
Number of packets: 4
Number of retries: 0
Last error: none
Last warning: none
7. When complete is shown,
enter Connect Command, c: EasyK>c
8. VM/CMS Ready Prompt Displayed: R; ...
The user may wish to enter the CMS "FILELIST" command to see the new
file. It will be the first in the list (unless the default ordering by
date has been changed by the user). The same sequence of commands can be
used to move a file from CMS to a disk drive on a microcomputer. Assume
the user that moved the MS-DOS file received a revised version of the paper
-- perhaps from a colleague at another university via BITNET -- and wants
to move the revised version from a CMS file named "VERSION4 SCRIPT A" onto
his microcomputer's C drive with the name "VERSION4.DOC". Lines 2 and 6
above would change. They would be entered as follows.
2. Enter the Kermit-CMS Send Command: kermit send version4 script a1
5. Enter the Receive Command after ">": EasyK>receive c:version4.doc
The system responses would also change from receive to send and vice versa.
CMS BINARY FILE TRANSFERS
Kermit will send (receive) a file to (from) VM/CMS through a protocol
converter that changes characters in your microcomputer from ASCII from to
VM/CMS's character form which is EBCIDIC by default. Carriage return- line
feed pairs are passed from the source file. You may also send (receive)
any file through the protocol converter in binary form. The commands on
your micro end do not change.
CMS, on the other hand, has to know what kind of a file is being
sent if the file-type default text is not wanted. Binary files require
the use of a "SET FILE TYPE aaaaaa" command. The following is a copy of
the section on setting file types in CMS's "HELP KERMIT" at the NERDC.
FILE TYPE <BINARY | TEXT | V-BINARY | D-BINARY>
If BINARY, CMS Kermit treats each character as a string of bits
and does not perform translation on the data. Also, carriage
returns are not added to the end of outgoing records. Incoming
bytes are added to the end of the current record which is
written out when the specified LRECL is reached. If TEXT, CMS
Kermit treats the file as plain text; ASCII-to-EBCDIC and
EBCDIC-to-ASCII translation is performed on the data. A
carriage return-linefeed is appended to each outgoing record
and is used to determine the end of each incoming record.
V-BINARY specifies variable-length-record binary data; like
BINARY, except that a 2-byte length field precedes each
outbound record, and is assumed for incoming records. D-BINARY
is similar, but the length field is a 5-byte ASCII decimal
string.
Assume you have a binary file (e.g., LOTUS 123 spreadsheet) on a micro
file named "DANAME.WK1" that you want to send to a friend (on NERDC's CMS
or another mainframe). You want the name of the file in VM/CMS to be
"DANAME BIN A1", using "BIN" as the filetype for identification -- it is
not NECESSARY to make the filetype equal to "BIN."
Given that you are signed onto NERDC's VM/CMS, with the ready prompt as
shown on Line 1 above, you can enter the Kermit-CMS receive command. The
sequence suggested here uses the CMS line-end character set for your ses-
sion by default, the "#" sign (use the one you set in your PROFILE EXEC if
you changed it). You tell CMS to get ready to receive a file named "DANAME
BIN A1" with the FILE TYPE BINARY, then you escape to your PC EasyK prompt
with "Alt x", and then send the PC file "DANAME.WK1" that is on the LOTUS
LOTUS subdirectory of your C drive in this example.
CMS Entry: kermit set file type binary # receive daname binary a1
Escape to your PC: "Alt & x"
PC Entry: EasyK>send c:\lotus\daname.wk1
You can list this file when you are in a CMS session as follows. 1) Escape
to your PC by pressing "Alt & x". 2) Enter "do xmit" at the EasyK prompt.
3) Enter "c" at the EasyK prompt to return to the CMS session.
PACKET SIZES
The following file should be included in your VM/CMS files with the name
"SYSTEM KERMINI A" if your phone line gives reasonably clear service. If
your phone line is noisey you may want to reduce the send packet size to a
smaller length such as 94 and the receive packet size to 250.
set send packet 250
set receive packet 1000
set block-check 3
set handshake 0
set warning on
The author has never had problems with these packet sizes using EasyK from
his home on a voice grade phone line.
FILE TRANSMIT (XMIT) TIMES
A number of variables influence the amount of time it takes to transer a file
including the file size, modem baud rate, packet size and file transfer
software. A 43,479-byte text file was transferred five times from NERDC's
VM/CMS to micros. It was 19 pages of text only printed with 4 one-inch
margins, double spacing, 6 lines per inch, and 12 characters per inch.
In all cases, the file was being written to a micro hard disk and "phone"
means the author's voice-grade home telephone line.
#1 #2 #3 #4 #5
Micro & Model IBM PC IBM PC XT Turbo IBM 3270 AT IBM 3270 PC
Processor Mhz 6.67 6.67 8.00 8.00 4.77
XMIT Software Yale Kermit Kermit Work Station Work Station
Terminal Control Prog. Control Prog.
Line......... Phone Phone Phone Coax on IBM Coax Channel
3274-C41 Connected
Baud Rate.... 2400 2400 2400 9600 19600
Time of Day.. Friday Friday Friday Friday Friday
Day of Week.. 00:05 00:32 20:18 09:12 09:11
XMIT Time.... 8.5 Min. 3.9 Min. 3.7 Min. 2.3 Min. .87 Min.
The Kermit transfers were done with the packet sizes recommended above.
These 5 te